/*
 * File:   main.cpp
 * Author: Kreyl
 * Project: klNfcF0
 *
 * Created on May 27, 2011, 6:37 PM
 */

#include "ch.h"
#include "hal.h"

#include "kl_lib_l15x.h"

static inline void Init();

// Application entry point.
int main() {
    // ==== Init OS ====
    halInit();
    chSysInit();
    // ==== Init Hard & Soft ====
    Init();
    // Report problem with clock if any

    while(TRUE) {
        chThdSleepMilliseconds(999);
        //Uart.Printf("Cl\r");
    }
}

void Init() {
}

//#ifdef __cplusplus
//extern "C" {
//#endif
//
//void chDbgPanic(const char *msg1, const char *msg2) {
//    Uart.Printf("%s %s\r", msg1, msg2);
//}
//
//#ifdef __cplusplus
//}
//#endif

